package com.vehicle_information_management_system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vehicle_information_management_system.pojo.AdminInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author huawei
* @description 针对表【admin_info】的数据库操作Service
* @createDate 2025-02-15 18:04:30
*/
public interface AdminInfoService extends IService<AdminInfo> {

    AdminInfo login(String loginName, String password);

    void register(AdminInfo adminInfo);

    void update(AdminInfo adminInfo);

    void delete(Integer id);

    IPage<AdminInfo> listPage(Integer pageNum, Integer pageSize,String search);
}
